package com.myapp.task;

import javax.inject.Named;

import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;

@Named
public class ConditionCheck implements JavaDelegate {
	@Override
	public void execute(DelegateExecution execution) throws Exception {
		execution.setVariable("test", "test1");
	}
	
	public boolean check() {
		return true;
	}
}
